package com.str;

public class Test {
  public static void main(String[] args) {
    //
    String s1 = "aaawwwbbb";
    String new_s1 = s1.replaceAll("www", "");
    System.out.println(new_s1);
  }
}
